const internal/sync.mutexWaiterShift
8 uses
internal/sync (current package)
mutex.go#L29: mutexWaiterShift = iota
mutex.go#L108: if !awoke && old&mutexWoken == 0 && old>>mutexWaiterShift != 0 &&
mutex.go#L123: new += 1 << mutexWaiterShift
mutex.go#L157: if old&(mutexLocked|mutexWoken) != 0 || old>>mutexWaiterShift == 0 {
mutex.go#L160: delta := int32(mutexLocked - 1<<mutexWaiterShift)
mutex.go#L161: if !starving || old>>mutexWaiterShift == 1 {
mutex.go#L215: if old>>mutexWaiterShift == 0 || old&(mutexLocked|mutexWoken|mutexStarving) != 0 {
mutex.go#L219: new = (old - 1<<mutexWaiterShift) | mutexWoken
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)